<?php $categories = __template_get('categories'); ?>
<div id="categories left">
	<?foreach($categories as $id=>$category){
		//if($category['child']!=""){
			__template_set("category",$category);
			__template("entities/category/item");
		//}
	}?>
	<div class="spacer"></div>
</div>